package com.df.barcodescaning.bean;

import java.io.Serializable;

/**
 * Created by G on 2018/6/1.
 */

public class UserData implements Serializable {


    private String userName;
    private String userPsw;
    private boolean isManager;

    public boolean isManager() {
        return isManager;
    }

    public void setManager(boolean manager) {
        isManager = manager;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPsw() {
        return userPsw;
    }

    public void setUserPsw(String userPsw) {
        this.userPsw = userPsw;
    }

    public UserData getManager() {
        UserData manager = new UserData();
        manager.setUserName("Admin");
        manager.setUserPsw("liaohao1234");
        manager.setManager(true);
        return manager;
    }
}
